package com.zz.springboot.manager;

import com.zz.springboot.model.SecondSelection;

import java.util.List;

public interface ExcelDealManager {

    /**
     * 插入单条数据
     * @param secondSelection
     */
    public int insertSecondSelection(SecondSelection secondSelection);

    /**
     * 插入批量数据
     * @param dataList
     */
    public int insertBatchSecondSelection(List<SecondSelection> dataList);

    /**
     * 根据类型获取二次挑选数据
     * @param type 0-风险较小；1-风险较大
     * @return
     */
    public SecondSelection selectSecondSelectionByType(Integer type);


}
